﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DeptGrant.aspx.cs" Inherits="QuaManSys.Rights.DeptGrant" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>部门授权</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Panel ID="TitlePanel" runat="server" CssClass="titlePadding">
        给<asp:Label ID="lblId" runat="server" ForeColor="Red"></asp:Label>授权
        <asp:Label ID="state" runat="server" Text="" Style="display: none;"></asp:Label>
    </asp:Panel>
    <div id="strinfo" runat="server" class="mbox pbox" visible="false">
        更新成功，请<asp:HyperLink ID="hlkReturn" runat="server" 
        NavigateUrl="~/Rights/DeptManPage.aspx">返回</asp:HyperLink>。
    </div>
    <div id="Div1" class="gv" runat="Server">
        <asp:Panel ID="RolePanel" runat="server">
            <table width="500" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
                <tr>
                    <td width="200" height="30" bgcolor="#CCCCCC">
                        <div align="center">
                            选择角色</div>
                    </td>
                    <td width="100" bgcolor="#CCCCCC">
                        <div align="center" style="color: #FFFFFF;">
                        </div>
                    </td>
                    <td width="200" bgcolor="#CCCCCC">
                        <div align="center">
                            可选角色</div>
                    </td>
                </tr>
                <tr>
                    <td bgcolor="#FFFFFF">
                        <div align="center" style="margin: 10px;">
                            <asp:ListBox ID="lbOwnedRoles" runat="server" Style="width: 160px;" SelectionMode="Multiple"
                                Height="205px"></asp:ListBox>
                            <asp:TextBox ID="OldRoleList" runat="server" Style="display: none;"></asp:TextBox>
                            <asp:TextBox ID="TRoleList" runat="server" Style="display: none;"></asp:TextBox>
                        </div>
                    </td>
                    <td bgcolor="#FFFFFF">
                        <div align="center">
                            <asp:Button ID="btn_plus" runat="server" Text="   <<   " 
                                onclick="btn_plus_Click" />
                            <br />
                            <br />
                            <asp:Button ID="btn_subtract" runat="server" Text="   >>   " 
                                onclick="btn_subtract_Click" />
                            <br />
                            <br />
                            <asp:Button ID="btn_saverole" runat="server" Text=" 保 存 " OnClick="btn_saverole_Click"  /><br />
                            <br />
                            按下CTRL鍵<br />
                            可以多選
                        </div>
                    </td>
                    <td bgcolor="#FFFFFF">
                        <div align="center" style="margin: 10px;">
                            <asp:ListBox ID="lbRoles" runat="server" Style="width: 160px;" SelectionMode="Multiple"
                                Height="205px"></asp:ListBox>
                        </div>
                    </td>
                </tr>
            </table>
        </asp:Panel>
    </div>
    </div>
    </form>
</body>
</html>
